/**
 * 测试文件
 */
#pragma once

#include "EventFileDriver.h"
#include "EventNode.h"

typedef struct _DriverApp DriverApp;

struct _DriverApp
{
	EventFileDriver parent_instance;

	EventNode *data_head;
	EventNode *data_end;

	EventNode *data_iter;
};

#define DRIVER_APP(any) ((DriverApp *)any)

extern DriverApp *driver_app_new();
extern void	  driver_app_add_item(DriverApp *app, const char *item);